const path = require('path');

module.exports = {
  publicPath:"/im",
  assetsDir:"static",
  outputDir:"build",
  devServer:{
    proxy:{
      "/sv":{
        target:"http://localhost:10086/",
        ws: true,
        changeOrigin: true
      }
    }
  },
  pluginOptions: {
    'style-resources-loader': {
      preProcessor: 'less',
      patterns: [
        path.resolve(__dirname, 'src/global.less'),
      ],
    },
  },
};